
App({
  onLaunch() {
 
    let wx_url = 'http://192.168.2.105:8080/wx'
    let img_url = 'http://192.168.2.105:8080'
    wx.setStorageSync('wx_url', wx_url)
    wx.setStorageSync('img_url', img_url)
  },
  globalData: {
    userInfo: null,
    token: null,
    roleIndex: '0' // 明确默认值
  }
})
